package cn.stylefeng.guns.sys.modular.system.entity;

import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuy
 * @since 2022-03-02
 */
@TableName("bty_sxf")
public class BtySxf implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 用友大区编号
     */
    @ExcelProperty(index = 3)
    @TableField("code")
    private String code;

    /**
     * 地区
     */
    @TableField("region")
    private String region;

    /**
     * 店名
     */
    @ExcelProperty(index = 0)
    @TableField("dm")
    private String dm;

    /**
     * 微信手续费
     */
    @ExcelProperty(index = 1)
    @TableField("wxsxf")
    private BigDecimal wxsxf;

    /**
     * 1成功
     */
    @TableField("flag")
    private Integer flag;

    /**
     * 失败原因
     */
    @TableField("errormsg")
    private String errormsg;

    /**
     * 支付宝手续费
     */
    @ExcelProperty(index = 2)
    @TableField("zfbsxf")
    private BigDecimal zfbsxf;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getDm() {
        return dm;
    }

    public void setDm(String dm) {
        this.dm = dm;
    }

    public BigDecimal getWxsxf() {
        return wxsxf;
    }

    public void setWxsxf(BigDecimal wxsxf) {
        this.wxsxf = wxsxf;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getErrormsg() {
        return errormsg;
    }

    public void setErrormsg(String errormsg) {
        this.errormsg = errormsg;
    }

    public BigDecimal getZfbsxf() {
        return zfbsxf;
    }

    public void setZfbsxf(BigDecimal zfbsxf) {
        this.zfbsxf = zfbsxf;
    }

    @Override
    public String toString() {
        return "BtySxf{" +
        "id=" + id +
        ", code=" + code +
        ", region=" + region +
        ", dm=" + dm +
        ", wxsxf=" + wxsxf +
        ", flag=" + flag +
        ", errormsg=" + errormsg +
        ", zfbsxf=" + zfbsxf +
        "}";
    }
}
